import BaseService from './request/service';
import { Service } from './request/decorator';
import { GetService } from './service';
import { GetPages } from './router';

import UI from './ui';

async function bootstrap(options) {
	const { store } = options || {};
	const service = await GetService({ store });

	return { store, service };
}

export { Service, BaseService, bootstrap, GetPages, UI };
